package com.intel.two.mapper.older;

import com.intel.two.pojo.older.People;

import com.intel.two.vo.older.BarVo;
import com.intel.two.vo.older.PieVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

public interface PeopleMapper {

    List<People> selectByParams(Map<String, Object> params);

    int addPeople(People people);

    int deleteById(@Param("id") Integer id);

    int deleteAll(List<Integer> list);

    int updatePeople(People people);

    List<BarVo> sexBarData();

    List<PieVo> sexPieData();
}
